package com.yc.baseapi;

/**
 * 字符操作
 */
public class TestCharacter {
    public static void main(String[] args) {
        TestCharacter t = new TestCharacter();
        t.m1();

    }

    /**
     * 判断数字是否是数字
     */
    public void m1() {
        Character c = '3';
        Character d = '+';
        System.out.println(Character.isDigit(c));
        System.out.println(Character.isDigit(d));
    }
}
